home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000131_news@columbia.edu _Sat Oct 2 17:52:25 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA21927
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 2 Oct 1999 17:52:25 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA16608
  7.     for kermit.misc@watsun.cc.columbia.edu; Sat, 2 Oct 1999 17:49:19 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. Date: Sat, 2 Oct 1999 11:48:20 -0700 
  10. From: <Use-Author-Address-Header@[127.1]>
  11. Message-ID: <TCPSMTP.19.10.2.11.48.20.2375661496.5870477@kincyb.com>
  12. Subject: C-kermit PPP dialing
  13. Organization: mail2news@nym.alias.net
  14. To: kermit.misc@columbia.edu
  15.  
  16. (Probably best to also email any followup to this to me direct,
  17. as well as posting it, since I read c.p.k.m sporadicly lately.)
  18.  
  19. This may be old hat, but I haven't seen anything similar 
  20. in the docs spelled out explicitly, so here.......
  21. There's some mention of using C-Kermit, with the redirect command, as
  22. a PPP dialer in the doc files for recent versions, but below is the method
  23. I've been using for a couple of months with Debian Linux 2.1.
  24. The 'unused' parts of C-Kermit probably get swapped out to disk
  25. while tied up with the redirect command, but this alternate method
  26. works for me and this question can't come up.
  27. I had this idea after looking at the docs on how to use
  28. external file transfer protocols, and the variable \v(ttyfd).
  29. Also, maybe this works because PPP is ignoring the lock files,
  30. (maybe I don't understand them completely).
  31. Anyway, here's the script:
  32.  
  33.  
  34. # C-Kermit PPPd dialer script.
  35. askq \%a {Password: }
  36. mydial <ISP phone number here>
  37. input 30 Login:
  38. output <user-id here>\13
  39. input 30 ssword:
  40. output \%a\13
  41. #   redirect pppd
  42. #  quit
  43. run nohup  pppd   <&\v(ttyfd)  >&\v(ttyfd)   &
  44. pause 7
  45. run ifconfig
  46. # hangup        # works OK if hangup here
  47.  
  48.  
  49.  
  50. Regards, Dallas E. Legan II / dallasii@kincyb.com  / leganii@surfree.com
  51.  
  52.